package com.hsjk.szwj.module.smedia.convert.template;

import com.aliyun.ice20201109.models.GetTemplateMaterialsResponseBody;
import com.aliyun.ice20201109.models.GetTemplateParamsResponseBody;
import com.aliyun.ice20201109.models.ListTemplatesResponseBody;
import com.hsjk.szwj.module.smedia.controller.admin.template.vo.TemplateMaterialsRespVO;
import com.hsjk.szwj.module.smedia.controller.admin.template.vo.TemplateParamsRespVO;
import com.hsjk.szwj.module.smedia.controller.admin.template.vo.TemplatesRespVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/07/21 11:25
 **/
@Mapper
public interface TemplateConvert {
    TemplateConvert INSTANCE = Mappers.getMapper(TemplateConvert.class);

    TemplatesRespVO convertTemplatesRespVO(ListTemplatesResponseBody responseBody);

    TemplateMaterialsRespVO convertTemplateMaterialsRespVO(GetTemplateMaterialsResponseBody responseBody);

    TemplateParamsRespVO convertTemplateParamsRespVO(GetTemplateParamsResponseBody responseBody);
}
